package com.yunji.system.dao.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.yunji.common.base.BaseDaoImpl;
import com.yunji.common.model.domain.NoticeDO;
import com.yunji.common.model.params.NoticeParams;
import com.yunji.system.dao.INoticeDao;
import com.yunji.system.mapper.INoticeMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class NoticeDaoImpl extends BaseDaoImpl<INoticeMapper,NoticeDO> implements INoticeDao {
    @Override
    public List<NoticeDO> getPageList(NoticeParams params) {
        return pageList(params,new LambdaQueryWrapper<NoticeDO>());
    }
}
